If you've already run the setup and want to change database settings, edit the cache/db.php file. If you are changing the database, you have to copy the data from your old database to your new one manually.
Once you finish the database setup, you will be prompted to create a user account. The account you create now is the most privileged user on the site, it has access to the administration and can create other administrators. Once you finish this step, you'll be on the home page logged in as the owner.
When logged in as the owner, you'll notice an administration link in the top navigation. From there you can make modifications to your site. You should start from the Settings tab, where you can set the title and the timezone.
If you'd like to enable the leaderboard for Mochi Media games and potentially earn revenue from hosting the games, you have to create a free Mochi Media account. Once you've logged in to Mochi Media, enter the publishers tab and copy your publisher ID and publisher secret key to the appropriate fields in the Settings tab in administration.
You also have to verify your domain with Mochi Media, follow the steps in the publisher tab in Mochi Media (copy the verification code into the field in Arcade settings administration).
Adding Mochi Media games to your site is easy - select the Games tab and press the Fetch games button in the top navigation. You'll have to set a limit and an offset. The limit dictates how many games should be downloaded, don't set it too high as the process may take a while. The offset is used for fetching older games. For example, if the offset is 5 then the loader skips the newest 5 games and starts fetching from there.
To browse the Mochi Media catalog for games and post them to your site, you have to edit the publisher settings on Mochi Media and set the settings as such:
You can get the publisher secret key on the same settings page on Mochi Media. Here is an example URL:
http://summoner.eu/fetch/p457lkdnghldfngse5po6serdtkisdfg
You are now ready to post games directly to your site!
You can ban or promote users to moderators or administrators in the Users tab in administration.
Every user starts out as level 1 upon registration. They can earn experience and levels through various actions:
When a user plays a game with the leaderboard enabled and submits a score, the user gets as many points as the number of other players (s)he beat. For example, if a user ranks third in a game that has 10 score submissions, the user receives 7 points.
To reach level 2, a user has to earn 50 points. As the level increments, so does the amount of points needed to reach the next level by 50. On the users page, you can order users by how many points they've collected in a certain time period. Each user can also see how they rank on the sidebar.
If you'd like to make changes to the HTML files in the /view/ folder, open index.php and change line 5 to:
Pawn::init('development');
Once you've finished making modifications, don't forget to set it back to:
Pawn::init('production');